WP_Defender\Controller\Firewall D

Total Complexity 135
Dependencies 24
Dependents 8
Total lines 954
Lines of code 685
Logical lines of code 330
Comment lines 162
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
get_summary()
A
41 13 61
maybe_lockout()
A
46 14 36
bulk_action()
A
39 11 75
maybe_extend_mime_types()
A
51 11 24
query_logs()
A
42 7 51
config_strings()
A
52 8 24
toggle_ip_action()
A
44 6 53
export_ip_logs()
A
42 6 49
is_a_staff_access()
S
55 7 20
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_show_demo_lockout()
S
49 6 32
export_strings()
S
51 6 26
is_commencing_staff_access()
S
65 5 8
to_array()
S
51 3 27
actions_for_blocked()
S
54 3 22
__construct()
S
49 2 30
save_settings()
S
56 2 21
empty_logs()
S
59 2 17
data_frontend()
S
51 1 27
is_authenticated_staff_access()
S
75 2 4
enqueue_assets()
S
64 2 10
import_data()
S
69 2 7
extend_mime_types()
S
71 2 6
dashboard_activation()
S
61 1 12
add_cron_schedules()
S
68 1 7
remove_settings()
S
68 1 7
remove_data()
S
82 1 3
main_view()
S
81 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3